package com.ithuaxin.method;

public class Test1 {
    public static void main(String[] args) {
        equal(10,20);
        equal((byte)10,(byte)20);
        short a = 10;
        short b = 10;
        equal(a,b);
    }
    public static void equal(byte b1,byte b2){
        System.out.println("byte");
        System.out.println(b1==b2);
    }
    public static void equal(short s1,short s2){
        System.out.println("short");
        System.out.println(s1==s2);
    }
    public static void equal(int i1,int i2){
        System.out.println("int");
        System.out.println(i1==i2);
    }
    public static void equal(long l1,long l2){
        System.out.println("long");
        System.out.println(l1==l2);
    }
}
